home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / jpegview.zip / USAGE.VIW < prev    next >
Text File  |  1992-04-12  |  2KB  |  55 lines

  1. USAGE instructions for the VGA viewer
  2. =====================================
  3. (C) 4/1992 by Hubertus Kehl
  4.  
  5. INTRODUCTION
  6.  
  7. This distribution is an additional source based on the JPEG sources of the 
  8. Independent JPEG Group. An viewer for VGA-cards has been implemented (jview)
  9. and some changes in jdmain have been made, to implement a new switch -v mode
  10. for the viewer.
  11. You can reconstruct my changes on the jpegsrc.v3 if you patch the
  12. diff-file over these sources.
  13. I don't distribute sources of Independent JPEG Group only my changes on it.
  14. Permission for use of this software is only granted, if you use it at
  15. your own risk. No warranty at all for damaged soft and hardware (monitors
  16. tortured with wrong hires modes etc.)
  17. (see also README.VIW and README)
  18. This software has only been tested on a TSENG 3000 card. A file to configure
  19. the videomodes has been provided. But if this helps to get the viewer work on 
  20. your card, i don't know. Some changes may be necessary in jview.c (setvideomode
  21.  or putrow etc.) The viewer can only be compiled with TURBO C or Borland C
  22. because it makes heavy use of the compiler's inline assembler and memory lib
  23. functions. Use Makefile.bcc for this.
  24. The viewer itself is very fast. The viewer takes only about 1% of the whole
  25. run-time of program. (Measured with a profiler). On a "normal" color image
  26. the quantization takes about 40-50 % and the decompression the rest. For faster
  27. viewing try -g or -1 to avoid the good looking, but slow 2-pass quantization.
  28.  
  29. GENERAL USAGE
  30.  
  31.     djpeg [switches] jpegfile  imagefile
  32.  
  33.     and for the viewer:
  34.     
  35.     djpeg [switches] jpegfile  
  36.  
  37.  
  38. DJPEG DETAILS
  39.  
  40. A parameter for the viewer has been added:
  41.  
  42.     -v mode    Output a jpeg file to screen using the given videomode.
  43.             Mode corresponds to the videomodes defined in the vgamode.cfg file.
  44.             The first entry there, is mode 1. Viewing has only been tested
  45.             on a TSENG 3000, for over cards you may need some modification in
  46.             the sources in setvideomode, putrow or setpal.
  47.             All options of djpeg are supported. Most times you can use -g 
  48.             (grayscale) for faster viewing, because of avoiding color
  49.             quantization.
  50.             (viewing implies -q, with default of 256 colors).
  51.             You have only to specify one inputfile and no outputfile.
  52.  
  53. Send bugs, patches, additional config files etc. to 
  54. kehl@informatik.tu-muenchen.de
  55.